<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<!--[if lt IE 9]>
<script type="text/javascript" src="../Public/js/html5.js"></script>
<script type="text/javascript" src="../Public/js/respond.min.js"></script>
<script type="text/javascript" src="../Public/js/PIE_IE678.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="../Public/css/H-ui.css"/>
<link type="text/css" rel="stylesheet" href="../Public/css/H-ui.admin.css"/>
<link type="text/css" rel="stylesheet" href="../Public/font/font-awesome.min.css"/>
<!--[if IE 7]>
<link href="../Public/font/font-awesome-ie7.min.css" rel="stylesheet" type="text/css" />
<![endif]-->
<title></title>
<style>
.checkbox-wrap{
    width: 90%;
    position: relative;
    margin: 0 auto;
    top: 30%;
    height: 40%;
    left: -4%;
    /*background-color: white;*/
}
input[type="checkbox"]{
    /* width: 40px; */
    /* height: 40px; */
    /* -webkit-border-radius: 50%; */
    display: none;
}
input[type="checkbox"]+label {
    display: inline-block;
    /*width: 48%;*/
    margin-top: 10px;
    margin-left: 5px;
    text-align: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

label::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #6f6a6a;
    vertical-align: middle;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    margin-right: 5px;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
      -moz-transition:background ease-in .5s;
  -webkit-transition:background ease-in .5s
}

input[type="checkbox"]:checked+label::before{
      background-color:#18BC9C;
    border: 5px #EEEEEE solid;
}
</style>
</head>
<body>
<nav class="Hui-breadcrumb"><i class="icon-home"></i> 首页 <span class="c-gray en">&gt;</span> <span>信息管理</span><span class="c-gray en">&gt;</span><span>用户详情</span> {$navAction} <a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="icon-refresh"></i></a></nav>
<div class="pd-20">
  <div class="Huiform" style="border: 1px solid #e6e9ea;">
<form action="{:U('Admin/User/update')}" method="post" >

      <table class="table radius table-striped table-hover  " >
        <tbody>

         
<!--             <tr>
            <th width="100" class="text-r"  style="font-size:13px"><span class="c-red">*</span> 头像：</th>

            <td>
          <empty name="data['touxiang']">
<img style="width:111px; "  src="App/Home/View/Public/images/abccc.png" width="100" height="100" border="0" />
</empty>
            

         <notempty name="data['touxiang']">
              <img  style="width:111px; "  src="Uploads/{$data['touxiang']}" width="100" height="100" border="0" />
   </notempty>
                                  
            </td>
          </tr> -->
          <tr>
            <th width="100"  class="text-r" style="font-size:13px"><span class="c-red">*</span> 账号：</th>
            <td><input type="text" style="width:500px;background-color: #eaeded;height: 30px" class="input-text" placeholder=""  value="{$data.phone}" readonly >
                                  
            </td>
          </tr>
          <tr>
            <th width="100"  class="text-r" style="font-size:13px"><span class="c-red">*</span> 昵称：</th>
            <td><input type="text" style="width:500px;background-color: #eaeded;height: 30px" class="input-text" placeholder=""  value="{$data.user}" readonly >
                                  
            </td>
          </tr>
                <tr>
            <th width="100"  class="text-r" style="font-size:13px"><span class="c-red">*</span> 状态：</th>
            <td><input type="text" style="width:500px;background-color: #eaeded;height: 30px" class="input-text" placeholder="" value="{$data['status']?'通过':'待审核'}" readonly >
                                  
            </td>
          </tr>

             <tr>
            <th width="100"  class="text-r" style="font-size:13px"><span class="c-red">*</span> 材质权限：</th>
            <td>
            <div class="checkbox-wrap">
            <volist name="quanxian" id="vo">
  <input type="checkbox" value="{$vo.cid}" name="qx[]" id="{$vo.cid}" <if condition="in_array($vo['cid'],$data['content'])">checked="checked"</if> >
  <label for="{$vo.cid}">{$vo.name}</label>


</volist>
</div>
      </td>
          </tr>

     

             <tr>
            <th width="100"  class="text-r" style="font-size:13px"><span class="c-red">*</span> 款式权限：</th>
            <td>
            <div class="checkbox-wrap">
            <volist name="kuanshi" id="vo1">
  <input type="checkbox" value="{$vo1.id}" name="ks[]" id="{$vo1.ks_name}" <if condition="in_array($vo1['id'],$data['linian'])">checked="checked"</if> >
  <label for="{$vo1.ks_name}">{$vo1.ks_name}</label>


</volist>
</div>
      </td>
          </tr>

   <input type="hidden"  value="{$data.id}" name="id"> 
      
        </tbody>
      </table>
    <div class="Huiform" style="border: 1px solid #e6e9ea;padding-left: 180px;background-color: #eaeded;height: 50px">
    <input  style="margin-top:10px;padding: 4px 26px "  class="btn btn-success radius"  type="submit" value="确定">
     
    </div>
  </form>
  </div>

</div>
<script type="text/javascript" src="../Public/js/jquery.min.js"></script>
<script type="text/javascript" src="../Public/js/jquery.form.js"></script>
<script type="text/javascript" src="../Public/js/H-ui.admin.js"></script> 


</body>
</html>